package com.irdstudio.efp.esb.api.bean.wsd.credit.req.finalnotice;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.efp.esb.api.common.GroupeInterface.wsd;
import com.irdstudio.efp.esb.common.constant.nls.NlsWhthrFrmrEnum;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 需求编号:2019D0910
 * 问题编号:终审通知请求对象
 * 开发人员: caoxin
 * 创建日期:2019/8/12
 * 功能描述:
 * 修改日期:2019/8/12
 * 修改描述:
 */
public class NlsWsdFinalNoticeReqBean implements Serializable{
    // 请求ID
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 256,groups= {wsd.class})
    private String  RqsIdmptntID;
    @JSONField(name = "RqsIdmptntID")
    public String  getRqsIdmptntID() { return RqsIdmptntID; }
    @JSONField(name = "RqsIdmptntID")
    public void setRqsIdmptntID( String RqsIdmptntID) { this.RqsIdmptntID = RqsIdmptntID; }
    // 申请编码
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 64,groups= {wsd.class})
    private String  AdptCrdtAplNo;
    @JSONField(name = "AdptCrdtAplNo")
    public String  getAdptCrdtAplNo() { return AdptCrdtAplNo; }
    @JSONField(name = "AdptCrdtAplNo")
    public void  setAdptCrdtAplNo( String AdptCrdtAplNo) {  this.AdptCrdtAplNo = AdptCrdtAplNo; }
    // 是否通过
    @DicType(dicType = NlsWhthrFrmrEnum.class, method = "getValue",groups= {wsd.class})
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 5,groups= {wsd.class})
    private String  PassFlg;
    @JSONField(name = "PassFlg")
    public String  getPassFlg() { return PassFlg; }
    @JSONField(name = "PassFlg")
    public void  setPassFlg( String PassFlg) {  this.PassFlg = PassFlg; }
    // 授信建议额度
    @Length(max = 64,groups= {wsd.class})
    private String  CrdtRcmndnAmt;
    @JSONField(name = "CrdtRcmndnAmt")
    public String  getCrdtRcmndnAmt() { return CrdtRcmndnAmt; }
    @JSONField(name = "CrdtRcmndnAmt")
    public void  setCrdtRcmndnAmt( String CrdtRcmndnAmt) {  this.CrdtRcmndnAmt = CrdtRcmndnAmt; }
    // 授信年年利利率上限
    @Length(max = 64,groups= {wsd.class})
    private String  CrdtAnulIntRtLmt;
    @JSONField(name = "CrdtAnulIntRtLmt")
    public String  getCrdtAnulIntRtLmt() { return CrdtAnulIntRtLmt; }
    @JSONField(name = "CrdtAnulIntRtLmt")
    public void  setCrdtAnulIntRtLmt( String CrdtAnulIntRtLmt) {  this.CrdtAnulIntRtLmt = CrdtAnulIntRtLmt; }
    // 授信年年利利率下限
    @Length(max = 64,groups= {wsd.class})
    private String  CrdtAnulIntRtLwrLmt;
    @JSONField(name = "CrdtAnulIntRtLwrLmt")
    public String  getCrdtAnulIntRtLwrLmt() { return CrdtAnulIntRtLwrLmt; }
    @JSONField(name = "CrdtAnulIntRtLwrLmt")
    public void   setCrdtAnulIntRtLwrLmt( String CrdtAnulIntRtLwrLmt) {  this.CrdtAnulIntRtLwrLmt = CrdtAnulIntRtLwrLmt; }
    // 拒绝码
    @Length(max = 20,groups= {wsd.class})
    private String  RfsCd;
    @JSONField(name = "RfsCd")
    public String  getRfsCd() { return RfsCd; }
    @JSONField(name = "RfsCd")
    public void setRfsCd( String RfsCd) { this.RfsCd = RfsCd; }
    // 审批结果原因
    @Length(max = 256,groups= {wsd.class})
    private String  RfsRsn;
    @JSONField(name = "RfsRsn")
    public String  getRfsRsn() { return RfsRsn; }
    @JSONField(name = "RfsRsn")
    public void setRfsRsn( String RfsRsn) { this.RfsRsn = RfsRsn; }
}